﻿<%@ Page Title="贵重药品设置" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="True" CodeBehind="HospitalHighPricedDrugsSetUp.aspx.cs" Inherits="Hospital_HospitalHighPricedDrugsSetUp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<div id="tabnav">
		<ul>
			<li><a href="HospitalHighPricedDrugs.aspx">贵重药品采购查询</a></li>
			<li class="active"><a href="javascript:void(0);">贵重药品设置</a></li>
		</ul>
	</div>
	<table>
		<tr>
			<td align="right">
				通用名
			</td>
			<td align="left">
				&nbsp;<asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
			</td>
			<td align="right">
				剂型
			</td>
			<td align="left">
				&nbsp;<asp:TextBox ID="txtMedicineModelName" runat="server"></asp:TextBox>
			</td>
			<td align="right" style="width: 40px">
				规格
			</td>
			<td valign="middle" style="width: 300px">
				<asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td align="right">
				生产企业
			</td>
			<td align="left">
				<asp:TextBox ID="txtCompanyName_SC" runat="server"></asp:TextBox>
			</td>
			<td align="right">
				投标企业
			</td>
			<td align="left">
				<asp:TextBox ID="txtCompanyName_TB" runat="server"></asp:TextBox>
			</td>
			<td>
				是否贵重药品
			</td>
			<td>
				&nbsp;&nbsp;<asp:DropDownList ID="DropDownList1" runat="server">
					<asp:ListItem Value="1">是</asp:ListItem>
					<asp:ListItem Value="0">否</asp:ListItem>
					<asp:ListItem Selected="True" Value="2">全部</asp:ListItem>
				</asp:DropDownList>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" />
			</td>
		</tr>
	</table>
	<asp:GridView ID="gvwInfo" runat="server" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据！"
		Width="100%" CssClass="mainlist">
		<Columns>
			<%--<asp:BoundField HeaderText="配送总量" DataField="DistributeCountSum" />
                <asp:BoundField HeaderText="采购总金额" DataField="PurchaseAmountSum" />
                <asp:BoundField HeaderText="入库总量" DataField="WarehouseCountSum" />
                <asp:BoundField HeaderText="入库总金额" DataField="WarehouseAmountSum" />--%>
			<asp:TemplateField HeaderText="序号">
				<ItemTemplate>
					<%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
				<HeaderStyle Width="30px" />
			</asp:TemplateField>
			<asp:BoundField DataField="ProcureCatalogID" HeaderText="药品编号" />
			<asp:BoundField HeaderText="通用名" DataField="ProductName" />
			<asp:BoundField HeaderText="剂型" DataField="MedicineModelName" />
			<asp:BoundField HeaderText="规格" DataField="Outlookc" />
			<asp:BoundField HeaderText="单位" DataField="Unit" />
			<asp:BoundField HeaderText="包装" DataField="Pack" />
			<asp:BoundField HeaderText="装换系数" DataField="Factor" />
			<asp:BoundField HeaderText="质量层次" DataField="QualityLevel" />
			<asp:BoundField DataField="InsuranceType" HeaderText="医保类型" />
			<asp:BoundField HeaderText="生产企业" DataField="CompanyName_SC" />
			<asp:BoundField HeaderText="价格" DataField="ProcurePrice" DataFormatString="{0:F3}" />
			<asp:TemplateField HeaderText="是否设置为贵重药品">
				<ItemTemplate>
					<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("IsPrecious") %>' />
				</ItemTemplate>
			</asp:TemplateField>
		</Columns>
	</asp:GridView>
	<div class="page">
		<webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
		</webdiyer:AspNetPager>
	</div>
	<asp:Button ID="btnSet" runat="server" Text="设为贵重药品" CssClass="btn" OnClick="btnSet_Click" />
	<hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
</asp:Content>
